package com.umeng.soexample.mvp.contract;

import com.umeng.lib_core.mvp.model.IModel;
import com.umeng.lib_core.mvp.view.IView;
import com.umeng.soexample.bean.HomeMenuEntity;

import io.reactivex.Observable;

/**
 * 分类Fragment订阅接口
 */
public interface ClassifyFragmentContract {

    //分类fragmentIview接口
    interface ClassiftFragmentIView extends IView {
        void menuSuccess(HomeMenuEntity entity);
    }
    //分类fragmentIModel接口
    interface ClassiftFragmentIModel extends IModel {
        Observable<HomeMenuEntity> requestMenu();
    }
}
